package cn.smdq.ch.gateway.core.resource.permission;

import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;

/**
 * @author shuimodanqing
 * create at:  2019/1/28  11:15 AM
 * @description 自定义权限处理器
 */
@Component("permissionHandler")
public class SimplePermissionHandler implements PermissionHandler {
    @Override
    public boolean hasPermission(Authentication authentication, HttpServletRequest request) {
        // todo
        return true;
    }
    
}
